package com.jswlw.service.biz;

import com.github.pagehelper.Page;
import com.jswlw.entity.biz.OrderInfo;

import java.util.List;

public interface OrderInfoService {

    void add(OrderInfo orderInfo);

    void update(OrderInfo orderInfo);

    void delete(Integer id);

    OrderInfo find4Id(Integer id);

    List<OrderInfo> queryList(OrderInfo filter);

    void checkOrderAndUpdate(String orderId, Integer totalAmount,String tradeNo);

    Page<OrderInfo> queryPage(OrderInfo orderInfo, Integer offset, Integer limit);
}
